inherited FrmRel_TelaFichaRazaoProduto: TFrmRel_TelaFichaRazaoProduto
  Left = 377
  Top = 192
  Caption = 'Ficha Raz'#227'o do Produto'
  ClientHeight = 470
  ClientWidth = 786
  OldCreateOrder = True
  OnActivate = FormActivate
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 14
  object RxLabel1: TRxLabel [0]
    Left = 21
    Top = 370
    Width = 115
    Height = 18
    Alignment = taRightJustify
    Caption = 'Saldo Anterior : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel2: TRxLabel [1]
    Left = 60
    Top = 388
    Width = 76
    Height = 18
    Alignment = taRightJustify
    Caption = 'Venda(s) : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel3: TRxLabel [2]
    Left = 49
    Top = 406
    Width = 87
    Height = 18
    Alignment = taRightJustify
    Caption = 'Compra(s) : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel4: TRxLabel [3]
    Left = 41
    Top = 424
    Width = 95
    Height = 18
    Alignment = taRightJustify
    Caption = 'Dev. Venda : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel5: TRxLabel [4]
    Left = 30
    Top = 442
    Width = 106
    Height = 18
    Alignment = taRightJustify
    Caption = 'Dev. Compra : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblSaldo: TRxLabel [5]
    Left = 257
    Top = 370
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblVendaProduto: TRxLabel [6]
    Left = 257
    Top = 388
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblCompraProduto: TRxLabel [7]
    Left = 257
    Top = 406
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblDevVendaProduto: TRxLabel [8]
    Left = 257
    Top = 424
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblDevCompraProduto: TRxLabel [9]
    Left = 257
    Top = 442
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel6: TRxLabel [10]
    Left = 387
    Top = 370
    Width = 180
    Height = 18
    Caption = 'Boletim de Produ'#231#227'o(s) : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel7: TRxLabel [11]
    Left = 439
    Top = 408
    Width = 128
    Height = 18
    Caption = 'Sa'#237'da p/ Boletim : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel8: TRxLabel [12]
    Left = 423
    Top = 426
    Width = 144
    Height = 18
    Caption = 'Entrada p/ Boletim : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblBoletim: TRxLabel [13]
    Left = 690
    Top = 370
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LblSaidaBoletim: TRxLabel [14]
    Left = 690
    Top = 408
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object lblEntradaBoletim: TRxLabel [15]
    Left = 690
    Top = 426
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel9: TRxLabel [16]
    Left = 462
    Top = 444
    Width = 105
    Height = 18
    Caption = #218'ltimo Custo : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object lbUltimoCusto: TRxLabel [17]
    Left = 690
    Top = 444
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RxLabel10: TRxLabel [18]
    Left = 409
    Top = 389
    Width = 158
    Height = 18
    Caption = 'Quant. em Produ'#231#227'o : '
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object lblProducao: TRxLabel [19]
    Left = 690
    Top = 389
    Width = 14
    Height = 18
    Alignment = taRightJustify
    Caption = '...'
    Font.Charset = ANSI_CHARSET
    Font.Color = clTeal
    Font.Height = -15
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  inherited BitBtn1: TBitBtn
    Left = 713
    Top = 444
    Width = 72
  end
  object dbgFicha: TDBGrid
    Left = 0
    Top = 0
    Width = 786
    Height = 360
    Align = alTop
    DataSource = dsFicha
    Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 2
    TitleFont.Charset = ANSI_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Arial'
    TitleFont.Style = [fsBold]
    OnKeyDown = dbgFichaKeyDown
    Columns = <
      item
        Expanded = False
        FieldName = 'TipMovto'
        Title.Caption = 'Tip. Movto'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Entidade'
        Title.Caption = 'Cliente/Fornecedor'
        Width = 270
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Serie'
        Width = 36
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Numero'
        Title.Caption = 'N'#250'mero'
        Width = 68
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Data'
        Width = 69
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Valor'
        Width = 84
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Qtde'
        Width = 71
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Saldo'
        Width = 69
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Historico'
        Width = 377
        Visible = True
      end>
  end
  object pnl_LOG: TPanel
    Left = 772
    Top = 160
    Width = 745
    Height = 233
    BevelInner = bvRaised
    BevelOuter = bvLowered
    BevelWidth = 2
    BorderWidth = 1
    TabOrder = 1
    Visible = False
    object Panel2: TPanel
      Left = 5
      Top = 5
      Width = 735
      Height = 20
      Align = alTop
      Caption = 'LOG'
      TabOrder = 0
      object SpeedButton1: TSpeedButton
        Left = 644
        Top = 1
        Width = 89
        Height = 18
        Caption = 'Fechar'
        Flat = True
        OnClick = SpeedButton1Click
      end
    end
    object DBGrid1: TDBGrid
      Left = 5
      Top = 25
      Width = 735
      Height = 203
      Align = alClient
      DataSource = DataSource1
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 1
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Arial'
      TitleFont.Style = [fsBold]
      Columns = <
        item
          Expanded = False
          FieldName = 'DATA_HORA'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'OPERACAO'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COD_USUA'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_NUMERO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_NUMERO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_NUMERO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_NUMERO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PRO_CODIGO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PRO_CODIGO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'SEQUENCIA_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'SEQUENCIA_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTAC_NUMERO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTAC_NUMERO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTC_SERIE_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTC_SERIE_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ENT_CODIGO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ENT_CODIGO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTC_ITEM_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTC_ITEM_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTA_SERIE_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTA_SERIE_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTA_NUMERO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'NOTA_NUMERO_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ITNV_ITEM_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ITNV_ITEM_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_QUANTIDADE_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_QUANTIDADE_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_DATA_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_DATA_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_VLUNIT_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_VLUNIT_N'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_HISTORICO_V'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'FP_HISTORICO_N'
          Visible = True
        end>
    end
  end
  object qryLog: TQuery
    DatabaseName = 'Industrial'
    SQL.Strings = (
      'select * from Log_FichaProduto')
    Left = 160
    Top = 400
    object qryLogDATA_HORA: TDateTimeField
      FieldName = 'DATA_HORA'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.DATA_HORA'
    end
    object qryLogOPERACAO: TStringField
      FieldName = 'OPERACAO'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.OPERACAO'
      Size = 10
    end
    object qryLogCOD_USUA: TStringField
      FieldName = 'COD_USUA'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.COD_USUA'
      Size = 10
    end
    object qryLogFP_NUMERO_V: TStringField
      FieldName = 'FP_NUMERO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_NUMERO_V'
      Size = 10
    end
    object qryLogFP_NUMERO_N: TStringField
      FieldName = 'FP_NUMERO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_NUMERO_N'
      Size = 10
    end
    object qryLogPROD_NUMERO_V: TStringField
      FieldName = 'PROD_NUMERO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.PROD_NUMERO_V'
      Size = 10
    end
    object qryLogPROD_NUMERO_N: TStringField
      FieldName = 'PROD_NUMERO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.PROD_NUMERO_N'
      Size = 10
    end
    object qryLogPRO_CODIGO_V: TStringField
      FieldName = 'PRO_CODIGO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.PRO_CODIGO_V'
      Size = 15
    end
    object qryLogPRO_CODIGO_N: TStringField
      FieldName = 'PRO_CODIGO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.PRO_CODIGO_N'
      Size = 15
    end
    object qryLogSEQUENCIA_V: TStringField
      FieldName = 'SEQUENCIA_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.SEQUENCIA_V'
      Size = 5
    end
    object qryLogSEQUENCIA_N: TStringField
      FieldName = 'SEQUENCIA_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.SEQUENCIA_N'
      Size = 5
    end
    object qryLogNOTAC_NUMERO_V: TStringField
      FieldName = 'NOTAC_NUMERO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTAC_NUMERO_V'
      Size = 9
    end
    object qryLogNOTAC_NUMERO_N: TStringField
      FieldName = 'NOTAC_NUMERO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTAC_NUMERO_N'
      Size = 9
    end
    object qryLogNOTC_SERIE_V: TStringField
      FieldName = 'NOTC_SERIE_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTC_SERIE_V'
      Size = 3
    end
    object qryLogNOTC_SERIE_N: TStringField
      FieldName = 'NOTC_SERIE_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTC_SERIE_N'
      Size = 3
    end
    object qryLogENT_CODIGO_V: TStringField
      FieldName = 'ENT_CODIGO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.ENT_CODIGO_V'
      Size = 5
    end
    object qryLogENT_CODIGO_N: TStringField
      FieldName = 'ENT_CODIGO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.ENT_CODIGO_N'
      Size = 5
    end
    object qryLogNOTC_ITEM_V: TStringField
      FieldName = 'NOTC_ITEM_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTC_ITEM_V'
      Size = 2
    end
    object qryLogNOTC_ITEM_N: TStringField
      FieldName = 'NOTC_ITEM_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTC_ITEM_N'
      Size = 2
    end
    object qryLogNOTA_SERIE_V: TStringField
      FieldName = 'NOTA_SERIE_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTA_SERIE_V'
      Size = 3
    end
    object qryLogNOTA_SERIE_N: TStringField
      FieldName = 'NOTA_SERIE_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTA_SERIE_N'
      Size = 3
    end
    object qryLogNOTA_NUMERO_V: TStringField
      FieldName = 'NOTA_NUMERO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTA_NUMERO_V'
      Size = 9
    end
    object qryLogNOTA_NUMERO_N: TStringField
      FieldName = 'NOTA_NUMERO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.NOTA_NUMERO_N'
      Size = 9
    end
    object qryLogITNV_ITEM_V: TStringField
      FieldName = 'ITNV_ITEM_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.ITNV_ITEM_V'
      Size = 2
    end
    object qryLogITNV_ITEM_N: TStringField
      FieldName = 'ITNV_ITEM_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.ITNV_ITEM_N'
      Size = 2
    end
    object qryLogFP_QUANTIDADE_V: TFloatField
      FieldName = 'FP_QUANTIDADE_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_QUANTIDADE_V'
    end
    object qryLogFP_QUANTIDADE_N: TFloatField
      FieldName = 'FP_QUANTIDADE_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_QUANTIDADE_N'
    end
    object qryLogFP_DATA_V: TDateTimeField
      FieldName = 'FP_DATA_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_DATA_V'
    end
    object qryLogFP_DATA_N: TDateTimeField
      FieldName = 'FP_DATA_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_DATA_N'
    end
    object qryLogFP_VLUNIT_V: TFloatField
      FieldName = 'FP_VLUNIT_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_VLUNIT_V'
    end
    object qryLogFP_VLUNIT_N: TFloatField
      FieldName = 'FP_VLUNIT_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_VLUNIT_N'
    end
    object qryLogFP_HISTORICO_V: TStringField
      FieldName = 'FP_HISTORICO_V'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_HISTORICO_V'
      Size = 60
    end
    object qryLogFP_HISTORICO_N: TStringField
      FieldName = 'FP_HISTORICO_N'
      Origin = 'INDUSTRIAL.LOG_FICHAPRODUTO.FP_HISTORICO_N'
      Size = 60
    end
  end
  object DataSource1: TDataSource
    DataSet = qryLog
    Left = 188
    Top = 400
  end
  object cdsFicha: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 592
    Top = 384
    object cdsFichaTipMovto: TStringField
      DisplayWidth = 15
      FieldName = 'TipMovto'
    end
    object cdsFichaEntidade: TStringField
      FieldName = 'Entidade'
      Size = 50
    end
    object cdsFichaSerie: TStringField
      FieldName = 'Serie'
      Size = 3
    end
    object cdsFichaNumero: TStringField
      DisplayWidth = 12
      FieldName = 'Numero'
      Size = 15
    end
    object cdsFichaData: TDateField
      FieldName = 'Data'
    end
    object cdsFichaValor: TFloatField
      FieldName = 'Valor'
      DisplayFormat = ',0.00000;-,0.00000'
    end
    object cdsFichaQtde: TFloatField
      FieldName = 'Qtde'
      DisplayFormat = ',0.00000;-,0.00000'
    end
    object cdsFichaSaldo: TFloatField
      FieldName = 'Saldo'
      DisplayFormat = ',0.00000;-,0.00000'
    end
    object cdsFichaHistorico: TStringField
      FieldName = 'Historico'
      Size = 100
    end
  end
  object dsFicha: TDataSource
    DataSet = cdsFicha
    Left = 620
    Top = 384
  end
end
